tests: Missing linker flags for test-rollsum
authorDaniel Svensson <dsvensson@gmail.com>
Mon, 6 Apr 2015 14:25:03 +0000 (10:25 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Mon, 6 Apr 2015 14:29:07 +0000 (10:29 -0400)
Reproducable on Debian; Fedora lets it slide.

Makefile-tests.am

index 675547d2dac33e2df88d5b38813cf9f09a54f919..04e2676cc7f946b98e97c7aade23a2e3d3418f63 100644 (file)
@@ -118,8 +118,8 @@ TESTS_CFLAGS = $(ostree_bin_shared_cflags) $(OT_INTERNAL_GIO_UNIX_CFLAGS)
 TESTS_LDADD = $(ostree_bin_shared_ldadd) $(OT_INTERNAL_GIO_UNIX_LIBS)
 
 tests_test_rollsum_SOURCES = src/libostree/ostree-rollsum.c tests/test-rollsum.c
-tests_test_rollsum_CFLAGS = $(TESTS_CFLAGS)
-tests_test_rollsum_LDADD = libbupsplit.la $(TESTS_LDADD)
+tests_test_rollsum_CFLAGS = $(TESTS_CFLAGS) $(OT_DEP_ZLIB_CFLAGS)
+tests_test_rollsum_LDADD = libbupsplit.la $(TESTS_LDADD) $(OT_DEP_ZLIB_LIBS)
 
 tests_test_mutable_tree_CFLAGS = $(TESTS_CFLAGS)
 tests_test_mutable_tree_LDADD = $(TESTS_LDADD)